﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master.Master" AutoEventWireup="true" CodeBehind="DanhSachHoaDonAdmin.aspx.cs" Inherits="Web_cuiki.DanhSachHoaDonAdmin" %>
<asp:Content ID="Content1" ContentPlaceHolderID="mainContent" runat="server">
<div class="clear">
    </div>
    <!-- start content-outer ........................................................................................................................START -->
    <div id="content-outer">
        <!-- start content -->
        <div id="content">
            <!--  start page-heading -->
            <div id="page-heading">
                <h1>
                    Add product</h1>
            </div>
            <!-- end page-heading -->
            <table border="0" width="100%" cellpadding="0" cellspacing="0" id="content-table">
                <tr>
                    <th rowspan="3" class="sized">
                        <img src="images/shared/side_shadowleft.jpg" width="20" height="300" alt="" />
                    </th>
                    <th class="topleft">
                    </th>
                    <td id="tbl-border-top">
                        &nbsp;
                    </td>
                    <th class="topright">
                    </th>
                    <th rowspan="3" class="sized">
                        <img src="images/shared/side_shadowright.jpg" width="20" height="300" alt="" />
                    </th>
                </tr>
                <tr>
                    <td id="tbl-border-left">
                    </td>
                    <td>
                        <!--  start content-table-inner ...................................................................... START -->
                        <div id="content-table-inner">
                            <!--  start table-content  -->
                            <div id="table-content">
                            <!-- ***************** start product-table*********************** ..................................................................................... -->
                               
                            <!-- ****************** end content-table *********************** -->
                       
                                <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                                    DataKeyNames="MaHoaDon" DataSourceID="LinqDataSource1" AllowSorting="True" 
                                    BackColor="White" BorderColor="#999999" BorderStyle="Solid" BorderWidth="1px" 
                                    CellPadding="3" ForeColor="Black" GridLines="Vertical">
                                    <AlternatingRowStyle BackColor="#CCCCCC" />
                                    <Columns>
                                        <asp:BoundField DataField="TenDangNhap" HeaderText="TenDangNhap" 
                                            ReadOnly="True" SortExpression="TenDangNhap" >
                                        <ItemStyle Width="100px" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="NgayDatHang" HeaderText="NgayDatHang" 
                                            ReadOnly="True" SortExpression="NgayDatHang" >
                                        <ItemStyle Width="200px" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="NgayGiaoHang" HeaderText="NgayGiaoHang" 
                                            ReadOnly="True" SortExpression="NgayGiaoHang" >
                                        <ItemStyle Width="150px" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="TongTien" HeaderText="TongTien" ReadOnly="True" 
                                            SortExpression="TongTien" >
                                        <ItemStyle Width="150px" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="MaNhaVanChuyen" HeaderText="MaNhaVanChuyen" 
                                            ReadOnly="True" SortExpression="MaNhaVanChuyen" Visible="False" />
                                        <asp:CheckBoxField DataField="TinhTrang" HeaderText="TinhTrang" 
                                            SortExpression="TinhTrang" />
                                        <asp:BoundField DataField="MaHoaDon" HeaderText="MaHoaDon" ReadOnly="True" 
                                            SortExpression="MaHoaDon" Visible="False" />
                                        <asp:CommandField ButtonType="Button" HeaderText="Update" ShowEditButton="True" 
                                            ShowHeader="True" />
                                    </Columns>
                                    <FooterStyle BackColor="#CCCCCC" />
                                    <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                                    <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
                                    <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
                                    <SortedAscendingCellStyle BackColor="#F1F1F1" />
                                    <SortedAscendingHeaderStyle BackColor="#808080" />
                                    <SortedDescendingCellStyle BackColor="#CAC9C9" />
                                    <SortedDescendingHeaderStyle BackColor="#383838" />
                                </asp:GridView>
                                <asp:LinqDataSource EnableUpdate="true" EnableInsert="true" EnableDelete="true" ID="LinqDataSource1" runat="server" 
                                    ContextTypeName="Web_cuiki.NhaXuatBanDataContext" EntityTypeName="" 
                                   
                                    TableName="HOA_DONs">
                                </asp:LinqDataSource>
                       
                                </div>
                            </div>
                            <!-- end actions-box........... -->
                            <!--  start paging..................................................... -->
                           
                            <!--  end paging................ -->
                            <div class="clear">
                            </div>
                        </div>
                        <!--  end content-table-inner ............................................END  -->
                    </td>
                    <td id="tbl-border-right">
                    </td>
                </tr>
                <tr>
                    <th class="sized bottomleft">
                    </th>
                    <td id="tbl-border-bottom">
                        &nbsp;
                    </td>
                    <th class="sized bottomright">
                    </th>
                </tr>
            </table>
            <div class="clear">
                &nbsp;</div>
        </div>
        <!--  end content -->
        <div class="clear">
            &nbsp;</div>
    </div>
    <!--  end content-outer........................................................END -->
</asp:Content>
